let articleList = {
    total: 60,
    'data|6': [{
        id: '@guid',
        title: '@ctitle',
        author: {
            nickname: '@cname'
        },
        category: {
            'cname|1': ['科幻', '鸡汤文', '技术前沿', '言情', '记录'],
        },
        createTime: '@date(yyyy-MM-dd)',
        status : 4
    }]
};

let categories = {
    'data|5': [{
        id: '@guid',
        'cname|+1': ['科幻', '鸡汤文', '技术前沿', '言情', '记录'],
    }]
};

let users = {
    total : 100,
    'data|6' : [{
        id: '@guid',
        username : '@name',
        nickname : '@cname',
        'gender|1' : [true,false],
        joinTime : '@date(yyyy-MM-dd HH:mm:ss)',
        email : '@email',
        location: '@city',
        sign : '@csentence(5,10)',
        lastTime : '@date(yyyy-MM-dd HH:mm:ss)',
    }]
}

let admins = {
    'data|6' : [{
        id: '@guid',
        username : '@name',
        nickname : '@cname',
        email : '@email',
        'enabled|1' : [true,false],
        'nonLocked|1':[true,false],
        roles : [
            {
                id : 1001,
                rname: '超级管理员'
            },
            {
                id : 1002,
                rname: '数据库管理员'
            },
            {
                id : 1003,
                rname: '普通管理员'
            },
        ],
        role: {
            'id|0-1' : [1001,1002,1003]
        }
    }]
}

export default {
    'get|/article/list': articleList,
    'get|/category/list': categories,
    'get|/user/list': users,
    'get|/admin/list':admins
}